import 'dart:async';
import 'dart:math';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:get/get.dart';
import '../httputils/api.dart';
import '../httputils/resultdata.dart';
import '../util.dart';

part 'code_field.dart';
part 'text_field.dart';
part 'appbar.dart';
part 'menu_item.dart';
part 'tag.dart';
part 'button.dart';
part 'title_content_view.dart';

shadowDecoration() {
  return BoxDecoration(
    color: Colors.white,
    border: Border.all(color: ColorsUtil.green.withAlpha(5)),
    borderRadius: BorderRadius.circular(3.r),
    boxShadow: [
      BoxShadow(
        color: ColorsUtil.green.withAlpha(5),
        offset: Offset(2.r, 3.r),
        blurRadius: 1,
      ),
      BoxShadow(
        color: ColorsUtil.green.withAlpha(10),
        offset: Offset(1.r, 1.r),
        blurRadius: 1,
      ),
    ],
  );
}
